package com.project.estate.building.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.estate.commons.bean.Building;
import com.project.estate.commons.config.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface BuildingService extends IService<Building> {

    //添加房子
    JsonResult addBuilding(Building building);

    //删除房子
    JsonResult deleteBuilding(String comId);

    //修改房子
    JsonResult updateBuilding(String comId, Building building);

    //查询房子
    JsonResult findBuilding(String comId);


}
